<?php
$this->breadcrumbs=array(
	'Contents'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Content', 'url'=>array('index')),
	array('label'=>'Create Content', 'url'=>array('create')),
	array('label'=>'Update Content', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Content', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Content', 'url'=>array('admin')),
);
?>

<h1>View Content #<?php echo $model->id; ?></h1>

<div class="view">

	<?php echo CHtml::encode($model->title) ?>
	
	<?php if ($model->author): ?>
	<b><?php echo CHtml::encode($model->getAttributeLabel('author')); ?>:</b>
	<?php echo CHtml::encode($model->author); ?>
	<?php endif ?>

	<?php echo CHtml::encode($model->time_created); ?>
	<br />
	<?php echo $model->content ?>
</div>